package com.zj.study.autoconfig;

import com.zj.study.annotation.AutoConfigurationLog;
import com.zj.study.config.UserServiceConfiguration;
import com.zj.study.config.WebConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * @author 赵赳
 * @since 2021/12/9 20:23
 */
@ConditionalOnClass({WebConfiguration.class})
@Configuration
@Import(UserServiceConfiguration.class)
public class UserServiceAutoConfiguration {

  @Bean
  @AutoConfigurationLog
  public void monitUserServiceAutoConfiguration(){

  }
}
